<template>
  <div class="counter">
    <button>-</button>
    <span class="numbox">{{1}}</span>
    <button>+</button>
  </div>
</template>

<script>
export default {

}
</script>

<style lang = "less" scoped>
.counter {
  float: right;
  margin-bottom: 20px;
  .numbox{
  min-width: 30px;
  text-align: center;
  margin: 0,5px;
  font-size: 12px;
}
}

</style>